.version 49 0 
.class public super com/liquid_technologies/ltxmllib18/dom/XmlDocument 
.super java/lang/Object 
.field private a Lcom/liquid_technologies/ltxmllib18/dom/XmlElement; 
.field private b Ljavax/xml/parsers/DocumentBuilder; 

.method public <init> : ()V 
    .code stack 2 locals 1 
L0:     aload_0 
L1:     invokespecial Method java/lang/Object <init> ()V 
L4:     aload_0 
L5:     aconst_null 
L6:     putfield Field com/liquid_technologies/ltxmllib18/dom/XmlDocument a Lcom/liquid_technologies/ltxmllib18/dom/XmlElement; 
L9:     aload_0 
L10:    aconst_null 
L11:    putfield Field com/liquid_technologies/ltxmllib18/dom/XmlDocument b Ljavax/xml/parsers/DocumentBuilder; 
L14:    return 
L15:    
    .end code 
.end method 

.method public parse : (Ljava/lang/String;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
    .code stack 4 locals 3 
L0:     aload_0 
L1:     new org/xml/sax/InputSource 
L4:     dup 
L5:     aload_1 
L6:     invokespecial Method org/xml/sax/InputSource <init> (Ljava/lang/String;)V 
L9:     aload_2 
L10:    invokespecial Method com/liquid_technologies/ltxmllib18/dom/XmlDocument a (Lorg/xml/sax/InputSource;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
L13:    return 
L14:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtXmlException java/io/IOException 
.end method 

.method public parse : (Ljava/io/Reader;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
    .code stack 4 locals 3 
L0:     aload_0 
L1:     new org/xml/sax/InputSource 
L4:     dup 
L5:     aload_1 
L6:     invokespecial Method org/xml/sax/InputSource <init> (Ljava/io/Reader;)V 
L9:     aload_2 
L10:    invokespecial Method com/liquid_technologies/ltxmllib18/dom/XmlDocument a (Lorg/xml/sax/InputSource;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
L13:    return 
L14:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtXmlException java/io/IOException 
.end method 

.method public parse : (Ljava/io/InputStream;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
    .code stack 4 locals 3 
L0:     aload_0 
L1:     new org/xml/sax/InputSource 
L4:     dup 
L5:     aload_1 
L6:     invokespecial Method org/xml/sax/InputSource <init> (Ljava/io/InputStream;)V 
L9:     aload_2 
L10:    invokespecial Method com/liquid_technologies/ltxmllib18/dom/XmlDocument a (Lorg/xml/sax/InputSource;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
L13:    return 
L14:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtXmlException java/io/IOException 
.end method 

.method public parse : (Lorg/w3c/dom/Element;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
    .code stack 6 locals 3 
        .catch java/lang/Exception from L0 to L14 using L15 
L0:     aload_0 
L1:     new com/liquid_technologies/ltxmllib18/dom/XmlElement 
L4:     dup 
L5:     aload_1 
L6:     aconst_null 
L7:     aload_2 
L8:     invokespecial Method com/liquid_technologies/ltxmllib18/dom/XmlElement <init> (Lorg/w3c/dom/Element;Lcom/liquid_technologies/ltxmllib18/dom/XmlElement;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
L11:    putfield Field com/liquid_technologies/ltxmllib18/dom/XmlDocument a Lcom/liquid_technologies/ltxmllib18/dom/XmlElement; 
L14:    return 
L15:    astore_1 
L16:    new com/liquid_technologies/ltxmllib18/exceptions/LtXmlException 
L19:    dup 
L20:    aload_1 
L21:    invokevirtual Method java/lang/Exception getMessage ()Ljava/lang/String; 
L24:    invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtXmlException <init> (Ljava/lang/String;)V 
L27:    athrow 
L28:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtXmlException java/io/IOException 
.end method 

.method public parse : (Lcom/liquid_technologies/ltxmllib18/XmlObjectBase;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
    .code stack 6 locals 3 
L0:     aload_1 
L1:     iconst_0 
L2:     getstatic Field com/liquid_technologies/ltxmllib18/Formatting NONE Lcom/liquid_technologies/ltxmllib18/Formatting; 
L5:     getstatic Field com/liquid_technologies/ltxmllib18/Encoding UTF8 Lcom/liquid_technologies/ltxmllib18/Encoding; 
L8:     getstatic Field com/liquid_technologies/ltxmllib18/EOLType LF Lcom/liquid_technologies/ltxmllib18/EOLType; 
L11:    aload_2 
L12:    invokevirtual Method com/liquid_technologies/ltxmllib18/XmlObjectBase toXml (ZLcom/liquid_technologies/ltxmllib18/Formatting;Lcom/liquid_technologies/ltxmllib18/Encoding;Lcom/liquid_technologies/ltxmllib18/EOLType;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)Ljava/lang/String; 
L15:    astore_1 
L16:    aload_0 
L17:    new org/xml/sax/InputSource 
L20:    dup 
L21:    new java/io/StringReader 
L24:    dup 
L25:    aload_1 
L26:    invokespecial Method java/io/StringReader <init> (Ljava/lang/String;)V 
L29:    invokespecial Method org/xml/sax/InputSource <init> (Ljava/io/Reader;)V 
L32:    aload_2 
L33:    invokespecial Method com/liquid_technologies/ltxmllib18/dom/XmlDocument a (Lorg/xml/sax/InputSource;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
L36:    return 
L37:    
    .end code 
    .exceptions com/liquid_technologies/ltxmllib18/exceptions/LtException java/io/IOException 
.end method 

.method public getDocumentElement : ()Lcom/liquid_technologies/ltxmllib18/dom/XmlElement; 
    .code stack 1 locals 1 
L0:     aload_0 
L1:     getfield Field com/liquid_technologies/ltxmllib18/dom/XmlDocument a Lcom/liquid_technologies/ltxmllib18/dom/XmlElement; 
L4:     areturn 
L5:     
    .end code 
.end method 

.method private a : (Lorg/xml/sax/InputSource;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
    .code stack 6 locals 5 
L0:     invokestatic Method javax/xml/parsers/DocumentBuilderFactory newInstance ()Ljavax/xml/parsers/DocumentBuilderFactory; 
L3:     dup 
L4:     astore_3 
L5:     iconst_1 
L6:     invokevirtual Method javax/xml/parsers/DocumentBuilderFactory setNamespaceAware (Z)V 
L9:     aload_3 
L10:    iconst_0 
L11:    invokevirtual Method javax/xml/parsers/DocumentBuilderFactory setValidating (Z)V 
L14:    aload_2 
L15:    invokevirtual Method com/liquid_technologies/ltxmllib18/SerializationContext getDtdProcessing ()Lcom/liquid_technologies/ltxmllib18/DtdProcessing; 
L18:    getstatic Field com/liquid_technologies/ltxmllib18/DtdProcessing PROHIBIT Lcom/liquid_technologies/ltxmllib18/DtdProcessing; 
L21:    if_acmpne L50 
        .catch javax/xml/parsers/ParserConfigurationException from L24 to L46 using L49 
        .catch org/xml/sax/SAXException from L0 to L113 using L114 
        .catch javax/xml/parsers/ParserConfigurationException from L0 to L113 using L165 
L24:    ldc 'http://xml.org/sax/features/external-general-entities' 
L26:    astore 4 
L28:    aload_3 
L29:    aload 4 
L31:    iconst_0 
L32:    invokevirtual Method javax/xml/parsers/DocumentBuilderFactory setFeature (Ljava/lang/String;Z)V 
L35:    ldc 'http://apache.org/xml/features/disallow-doctype-decl' 
L37:    astore 4 
L39:    aload_3 
L40:    aload 4 
L42:    iconst_1 
L43:    invokevirtual Method javax/xml/parsers/DocumentBuilderFactory setFeature (Ljava/lang/String;Z)V 
L46:    goto L50 
L49:    pop 
L50:    aload_0 
L51:    aload_3 
L52:    invokevirtual Method javax/xml/parsers/DocumentBuilderFactory newDocumentBuilder ()Ljavax/xml/parsers/DocumentBuilder; 
L55:    putfield Field com/liquid_technologies/ltxmllib18/dom/XmlDocument b Ljavax/xml/parsers/DocumentBuilder; 
L58:    aload_2 
L59:    invokevirtual Method com/liquid_technologies/ltxmllib18/SerializationContext getDtdProcessing ()Lcom/liquid_technologies/ltxmllib18/DtdProcessing; 
L62:    getstatic Field com/liquid_technologies/ltxmllib18/DtdProcessing PARSE Lcom/liquid_technologies/ltxmllib18/DtdProcessing; 
L65:    if_acmpeq L83 
L68:    aload_0 
L69:    getfield Field [c17] b Ljavax/xml/parsers/DocumentBuilder; 
L72:    new com/liquid_technologies/ltxmllib18/dom/a 
L75:    dup 
L76:    aload_0 
L77:    invokespecial Method com/liquid_technologies/ltxmllib18/dom/a <init> (Lcom/liquid_technologies/ltxmllib18/dom/XmlDocument;)V 
L80:    invokevirtual Method javax/xml/parsers/DocumentBuilder setEntityResolver (Lorg/xml/sax/EntityResolver;)V 
L83:    aload_0 
L84:    getfield Field [c17] b Ljavax/xml/parsers/DocumentBuilder; 
L87:    aload_1 
L88:    invokevirtual Method javax/xml/parsers/DocumentBuilder parse (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document; 
L91:    astore 4 
L93:    aload_0 
L94:    new com/liquid_technologies/ltxmllib18/dom/XmlElement 
L97:    dup 
L98:    aload 4 
L100:   invokeinterface InterfaceMethod org/w3c/dom/Document getDocumentElement ()Lorg/w3c/dom/Element; 1 
L105:   aconst_null 
L106:   aload_2 
L107:   invokespecial Method com/liquid_technologies/ltxmllib18/dom/XmlElement <init> (Lorg/w3c/dom/Element;Lcom/liquid_technologies/ltxmllib18/dom/XmlElement;Lcom/liquid_technologies/ltxmllib18/SerializationContext;)V 
L110:   putfield Field [c17] a Lcom/liquid_technologies/ltxmllib18/dom/XmlElement; 
L113:   return 
L114:   dup 
L115:   astore_3 
L116:   invokevirtual Method org/xml/sax/SAXException getMessage ()Ljava/lang/String; 
L119:   dup 
L120:   astore 4 
L122:   ldc 'disallow-doctype-decl' 
L124:   invokevirtual Method java/lang/String contains (Ljava/lang/CharSequence;)Z 
L127:   ifeq L134 
L130:   ldc 'For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlSerializationContext.' 
L132:   astore 4 
L134:   aload_3 
L135:   invokevirtual Method org/xml/sax/SAXException getException ()Ljava/lang/Exception; 
L138:   ifnonnull L151 
L141:   new com/liquid_technologies/ltxmllib18/exceptions/LtXmlException 
L144:   dup 
L145:   aload 4 
L147:   invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtXmlException <init> (Ljava/lang/String;)V 
L150:   athrow 
L151:   new com/liquid_technologies/ltxmllib18/exceptions/LtXmlException 
L154:   dup 
L155:   aload 4 
L157:   aload_3 
L158:   invokevirtual Method org/xml/sax/SAXException getException ()Ljava/lang/Exception; 
L161:   invokespecial Method com/liquid_technologies/ltxmllib18/exceptions/LtXmlException <init> (Ljava/lang/String;Ljava/lang/Throwable;)V 
L164:   athrow 
L165:   astore_3 
L166:   new [c21] 
L169:   dup 
L170:   aload_3 
L171:   invokevirtual Method javax/xml/parsers/ParserConfigurationException getMessage ()Ljava/lang/String; 
L174:   invokespecial Method [c21] <init> (Ljava/lang/String;)V 
L177:   athrow 
L178:   
    .end code 
    .exceptions [c21] java/io/IOException 
.end method 

.method private static a : (Lorg/w3c/dom/Element;)Ljava/lang/String; 
    .code stack 2 locals 2 
L0:     aload_0 
L1:     aload_0 
L2:     invokeinterface InterfaceMethod org/w3c/dom/Element getNamespaceURI ()Ljava/lang/String; 1 
L7:     invokeinterface InterfaceMethod org/w3c/dom/Element lookupPrefix (Ljava/lang/String;)Ljava/lang/String; 2 
L12:    astore_1 
L13:    aload_0 
L14:    invokeinterface InterfaceMethod org/w3c/dom/Element getNamespaceURI ()Ljava/lang/String; 1 
L19:    ifnull L26 
L22:    aload_1 
L23:    ifnonnull L33 
L26:    aload_0 
L27:    invokeinterface InterfaceMethod org/w3c/dom/Element getLocalName ()Ljava/lang/String; 1 
L32:    areturn 
L33:    new java/lang/StringBuilder 
L36:    dup 
L37:    invokespecial Method java/lang/StringBuilder <init> ()V 
L40:    aload_1 
L41:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L44:    ldc ':' 
L46:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L49:    aload_0 
L50:    invokeinterface InterfaceMethod org/w3c/dom/Element getLocalName ()Ljava/lang/String; 1 
L55:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L58:    invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L61:    areturn 
L62:    
    .end code 
.end method 

.method private static b : (Lorg/w3c/dom/Element;)Ljava/lang/String; 
    .code stack 2 locals 8 
L0:     aload_0 
L1:     invokestatic Method [c17] a (Lorg/w3c/dom/Element;)Ljava/lang/String; 
L4:     astore_1 
L5:     aload_0 
L6:     invokeinterface InterfaceMethod org/w3c/dom/Element getParentNode ()Lorg/w3c/dom/Node; 1 
L11:    ifnull L178 
L14:    iconst_1 
L15:    istore_2 
L16:    iconst_1 
L17:    istore_3 
L18:    iconst_0 
L19:    istore 4 
L21:    aload_0 
L22:    invokeinterface InterfaceMethod org/w3c/dom/Element getParentNode ()Lorg/w3c/dom/Node; 1 
L27:    invokeinterface InterfaceMethod org/w3c/dom/Node getChildNodes ()Lorg/w3c/dom/NodeList; 1 
L32:    astore 5 
L34:    iconst_0 
L35:    istore 6 
L37:    iload 6 
L39:    aload 5 
L41:    invokeinterface InterfaceMethod org/w3c/dom/NodeList getLength ()I 1 
L46:    if_icmpge L178 
L49:    aload 5 
L51:    iload 6 
L53:    invokeinterface InterfaceMethod org/w3c/dom/NodeList item (I)Lorg/w3c/dom/Node; 2 
L58:    dup 
L59:    astore 7 
L61:    invokeinterface InterfaceMethod org/w3c/dom/Node getNodeType ()S 1 
L66:    iconst_1 
L67:    if_icmpne L172 
L70:    aload 7 
L72:    checkcast org/w3c/dom/Element 
L75:    invokestatic Method [c17] a (Lorg/w3c/dom/Element;)Ljava/lang/String; 
L78:    aload_1 
L79:    invokevirtual Method java/lang/String equals (Ljava/lang/Object;)Z 
L82:    ifeq L172 
L85:    aload 7 
L87:    aload_0 
L88:    invokevirtual Method java/lang/Object equals (Ljava/lang/Object;)Z 
L91:    ifeq L133 
L94:    iload_3 
L95:    ifne L127 
L98:    new java/lang/StringBuilder 
L101:   dup 
L102:   invokespecial Method java/lang/StringBuilder <init> ()V 
L105:   aload_1 
L106:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L109:   ldc '[' 
L111:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L114:   iload_2 
L115:   invokevirtual Method java/lang/StringBuilder append (I)Ljava/lang/StringBuilder; 
L118:   ldc ']' 
L120:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L123:   invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L126:   areturn 
L127:   iconst_1 
L128:   istore 4 
L130:   goto L172 
L133:   iload 4 
L135:   ifeq L167 
L138:   new java/lang/StringBuilder 
L141:   dup 
L142:   invokespecial Method java/lang/StringBuilder <init> ()V 
L145:   aload_1 
L146:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L149:   ldc '[' 
L151:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L154:   iload_2 
L155:   invokevirtual Method java/lang/StringBuilder append (I)Ljava/lang/StringBuilder; 
L158:   ldc ']' 
L160:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L163:   invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L166:   areturn 
L167:   iconst_0 
L168:   istore_3 
L169:   iinc 2 1 
L172:   iinc 6 1 
L175:   goto L37 
L178:   aload_1 
L179:   areturn 
L180:   
    .end code 
.end method 

.method static a : (Lorg/w3c/dom/Node;)Ljava/lang/String; 
    .code stack 3 locals 3 
L0:     aload_0 
L1:     invokeinterface InterfaceMethod org/w3c/dom/Node getLocalName ()Ljava/lang/String; 1 
L6:     astore_1 
        .catch java/lang/Exception from L7 to L218 using L221 
L7:     aload_0 
L8:     invokeinterface InterfaceMethod org/w3c/dom/Node getNodeType ()S 1 
L13:    lookupswitch 
            1 : L158 
            2 : L48 
            9 : L202 
            default : L208 

L48:    new java/lang/StringBuilder 
L51:    dup 
L52:    invokespecial Method java/lang/StringBuilder <init> ()V 
L55:    aload_0 
L56:    checkcast org/w3c/dom/Attr 
L59:    invokeinterface InterfaceMethod org/w3c/dom/Attr getOwnerElement ()Lorg/w3c/dom/Element; 1 
L64:    invokestatic Method [c17] a (Lorg/w3c/dom/Node;)Ljava/lang/String; 
L67:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L70:    ldc '/@' 
L72:    invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L75:    aload_0 
L76:    checkcast org/w3c/dom/Attr 
L79:    dup 
L80:    astore_0 
L81:    invokeinterface InterfaceMethod org/w3c/dom/Attr getOwnerElement ()Lorg/w3c/dom/Element; 1 
L86:    aload_0 
L87:    invokeinterface InterfaceMethod org/w3c/dom/Attr getNamespaceURI ()Ljava/lang/String; 1 
L92:    invokeinterface InterfaceMethod org/w3c/dom/Element lookupPrefix (Ljava/lang/String;)Ljava/lang/String; 2 
L97:    astore_2 
L98:    aload_0 
L99:    invokeinterface InterfaceMethod org/w3c/dom/Attr getNamespaceURI ()Ljava/lang/String; 1 
L104:   ifnull L111 
L107:   aload_2 
L108:   ifnonnull L120 
L111:   aload_0 
L112:   invokeinterface InterfaceMethod org/w3c/dom/Attr getName ()Ljava/lang/String; 1 
L117:   goto L148 
L120:   new java/lang/StringBuilder 
L123:   dup 
L124:   invokespecial Method java/lang/StringBuilder <init> ()V 
L127:   aload_2 
L128:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L131:   ldc ':' 
L133:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L136:   aload_0 
L137:   invokeinterface InterfaceMethod org/w3c/dom/Attr getLocalName ()Ljava/lang/String; 1 
L142:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L145:   invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L148:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L151:   invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L154:   astore_1 
L155:   goto L222 
L158:   new java/lang/StringBuilder 
L161:   dup 
L162:   invokespecial Method java/lang/StringBuilder <init> ()V 
L165:   aload_0 
L166:   checkcast org/w3c/dom/Element 
L169:   invokeinterface InterfaceMethod org/w3c/dom/Element getParentNode ()Lorg/w3c/dom/Node; 1 
L174:   invokestatic Method [c17] a (Lorg/w3c/dom/Node;)Ljava/lang/String; 
L177:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L180:   ldc '/' 
L182:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L185:   aload_0 
L186:   checkcast org/w3c/dom/Element 
L189:   invokestatic Method [c17] b (Lorg/w3c/dom/Element;)Ljava/lang/String; 
L192:   invokevirtual Method java/lang/StringBuilder append (Ljava/lang/String;)Ljava/lang/StringBuilder; 
L195:   invokevirtual Method java/lang/StringBuilder toString ()Ljava/lang/String; 
L198:   astore_1 
L199:   goto L222 
L202:   ldc '' 
L204:   astore_1 
L205:   goto L222 
L208:   aload_0 
L209:   invokeinterface InterfaceMethod org/w3c/dom/Node getParentNode ()Lorg/w3c/dom/Node; 1 
L214:   invokestatic Method [c17] a (Lorg/w3c/dom/Node;)Ljava/lang/String; 
L217:   pop 
L218:   goto L222 
L221:   pop 
L222:   aload_1 
L223:   areturn 
L224:   
        .linenumbertable 
            L0 0 
            L80 1000 
            L148 0 
        .end linenumbertable 
    .end code 
.end method 
.innerclasses 
    com/liquid_technologies/ltxmllib18/dom/a [0] [0] 
.end innerclasses 
.const [c17] = Class [u207] 
.const [c21] = Class [u211] 
.const [u207] = Utf8 com/liquid_technologies/ltxmllib18/dom/XmlDocument 
.const [u211] = Utf8 com/liquid_technologies/ltxmllib18/exceptions/LtXmlException 
.end class 
